const getters = {
  sidebar: (state) => state.app.sidebar,
  id: (state) => state.user.id,
  account: (state) => state.user.account,
  name: (state) => state.user.name,
  email: (state) => state.user.email,
  role: (state) => state.user.role,
  permission: (state) => state.user.permission,
  permission_routes: (state) => state.permission.routes,
  visitedViews: (state) => state.tagsView.visitedViews,
  cachedViews: (state) => state.tagsView.cachedViews,
  phone: (state) => state.user.phone,

  dictsMap: (state) => state.user.dictsMap,
  dictsData: (state) => state.user.dictsData,
};
export default getters;
